package app1.rapidsquare.com.application;

import android.app.Application;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;

import app1.rapidsquare.com.database.AgileSqliteHelper;
import app1.rapidsquare.com.database.AgileSyncService;

/**
 * Created by Hikmat on 11.08.2014.
 */
public class AgileApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        SQLiteDatabase mSqliteDataBase = new AgileSqliteHelper(getApplicationContext()).getWritableDatabase();
        if (mSqliteDataBase.isOpen())
            mSqliteDataBase.close();

    }
}
